<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>漫威电影</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="./css/film.css">

</head>

<body>
    <div class="banner">
        <span class="banner-black"></span>
        <div class="banner-centent">

            <nav class="navbar navbar-default" role="navigation">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#"><img src="./images/film/log.png" alt="" class="nav-log"></a>
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse navbar-ex1-collapse">


                    <ul class="nav navbar-nav navbar-right nav-li">
                        <li><a href="index.html">首页</a></li>
                        <li><a href="#" class="active">电影</a></li>
                        <li><a href="./comics.html">动漫</a></li>


                    </ul>
                </div>
                <!-- /.navbar-collapse -->
            </nav>
            <div class="marvie">
                <h1>Marvel movies</h1>
            </div>


        </div>
        <div class="bottom">
            <div class="box">
                <div class="box-centent">
                    <h3>热门电影</h3>
                    <p>Watch popular Marvel movies online,enjoy high-definition movies athome without cinema</p>
                </div>
                <div class="box-centent">
                    <h3>推荐电影</h3>
                    <p>Watch popular Marvel movies online,enjoy high-definition movies athome without cinema</p>
                </div>
                <div class="box-centent">
                    <h3>最新电影</h3>
                    <p>Watch popular Marvel movies online,enjoy high-definition movies athome without cinema</p>
                </div>
                <div class="box-centent">
                    <h3>新品尝鲜</h3>
                    <p>Watch popular Marvel movies online,enjoy high-definition movies athome without cinema</p>
                </div>


            </div>
        </div>
    </div>
    <!-- 热播 -->
    <div class="tj">

        <div class="container">
            <div class="titme">
                <span class="glyphicon glyphicon-fire"></span>
                <h1>热门</h1>
                <p>平均评分：4.9/人气888888</p>
            </div>
            <div class="row no-left">
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/1.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>
                        </div>
                        <p>钢铁侠</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/2.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/3.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/4.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/5.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/6.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>



            </div>

        </div>

    </div>
    <!-- 推荐 -->
    <div class="tj2">
        <div class="container">
            <div class="titme">
                <span class="glyphicon glyphicon-fire"></span>
                <h1>推荐</h1>
                <p>平均评分：4.9/人气888888</p>
            </div>
            <div class="row no-left">
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/7.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>
                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/8.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/9.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/10.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/11.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/12.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/1.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/2.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/3.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/4.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/5.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/6.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>


            </div>

        </div>
    </div>
    <div class="tj3">
        <div class="container">
            <div class="titme">
                <span class="glyphicon glyphicon-fire"></span>
                <h1>最新</h1>
                <p>平均评分：4.9/人气888888</p>
            </div>
            <div class="row no-left">
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/7.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>
                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/8.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/9.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/10.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/11.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>



            </div>

        </div>
    </div>
    <!-- 最新 -->
    <div class="tj4">
        <div class="container">
            <div class="titme">
                <span class="glyphicon glyphicon-fire"></span>
                <h1>新品尝鲜</h1>
                <p>平均评分：4.9/人气888888</p>
            </div>
            <div class="row no-left">
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/12.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>
                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/1.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/2.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/3.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/4.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/5.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/6.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/7.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/8.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/9.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/10.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>
                <div class="col-md-2 my-col">
                    <div class="go">
                        <div class="maimg">
                            <img src="./images/film/11.webp" alt="">
                            <div class="huiz">
                                <span class="date">2021</span>
                                <span class="target">热</span>
                            </div>
                            <span class="pf">4.9</span>
                            <span class="glyphicon glyphicon-play-circle"></span>

                        </div>
                        <p>雷神3</p>
                    </div>
                </div>


            </div>

        </div>
    </div>
    <!-- 电梯导航 -->
    <div class="diant">
        <ul>
            <li>热门电影</li>
            <li>推荐电影</li>
            <li>最新电影</li>
            <li>新品尝鲜</li>

        </ul>
    </div>
    <footer>
        <p>2021-漫威电影</p>
    </footer>
</body>
<script src="./js/jquery.js"></script>
<script src="./js/bootstrap.min.js"></script>

<script>
    $(function() {

        $('.banner-black').stop().animate({
            opacity: 0.36
        }, 5000)
        $('.box-centent').click(function() {
            var index = $(this).index()

            var top = $('.titme').eq(index).offset().top
            console.log(top);
            top = top - 90

            $('html,body').stop().animate({
                scrollTop: top
            })


        })
        $('.diant>ul').children('li').click(function() {
            var index2 = $(this).index()
            var top2 = $('.titme').eq(index2).offset().top
            top2 = top2 - 90

            $('html,body').stop().animate({
                scrollTop: top2
            })
        })
        $(window).scroll(function() {
            var top3 = $('.titme').eq(0).offset().top
            if ($(document).scrollTop() > top3) {
                $('.diant').css('opacity', '1')
            } else {
                $('.diant').css('opacity', '0')
            }
        })
    })
</script>

</html>